package GUI.Components;

/**
 *
 * @author Nguyen Hong Phu (1142066) - 11HCB (HCMUS)
 */
public class ToolbarEvent {
    private boolean isError;
    private boolean isAdding;
    private boolean isUpdating;

    public ToolbarEvent() {
        this.isError = false;
        this.isAdding = false;
        this.isUpdating = false;
    }

    
    
    /**
     * @return the isError
     */
    public boolean isIsError() {
        return isError;
    }

    /**
     * @param isError the isError to set
     */
    public void setIsError(boolean isError) {
        this.isError = isError;
    }

    /**
     * @return the isAdding
     */
    public boolean isIsAdding() {
        return isAdding;
    }

    /**
     * @param isAdding the isAdding to set
     */
    public void setIsAdding(boolean isAdding) {
        this.isAdding = isAdding;
    }

    /**
     * @return the isUpdating
     */
    public boolean isIsUpdating() {
        return isUpdating;
    }

    /**
     * @param isUpdating the isUpdating to set
     */
    public void setIsUpdating(boolean isUpdating) {
        this.isUpdating = isUpdating;
    }
}
